package erlangtools;

public class SourceLine {
	private String sourceFile;
	private int line;
	private String message;
	
	public String getSourceFile() {
		return sourceFile;
	}
	public void setSourceFile(String sourceFile) {
		this.sourceFile = sourceFile;
	}
	public int getLine() {
		return line;
	}
	public void setLine(int line) {
		this.line = line;
	}
	public SourceLine(String sourceFile, int line, String message) {
		this.sourceFile = sourceFile;
		this.line = line;
		this.message = message;
	}
	public String toString() {
		return message + ": " + line;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
}
